package emP;
public class Employee extends Person {
    protected String id;
    protected double wage;
    public Employee(String name, int age, String id) {
        super(name, age);
        this.id = id;
        this.wage = wage;
    }
    public String toString() {
        return "Employee{" + super.toString() + ", id='" + id + "', wage=" + wage + "}";
    }
}